'use strict';
const db = uniCloud.database();
exports.main = async (event, context) => {
	if(event.type=='get'){
		//db.collection('数据表')
		return await db.collection('category').get()
	}
};
